package com.jt.demo;

import org.springframework.stereotype.Component;

@Component("Cat")
public class Cat implements Pet{

    @Override
    public void hello() {
        System.out.println("我是喵喵喵");
    }
}
